package com.zhike.common.dto;

import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class GroupSetAdminDTO {

    @ApiModelProperty(value = "群ID")
    @NotNull(message = "缺少参数groupId")
    private String groupId;

    @ApiModelProperty(value = "设置成员")
    @NotNull(message = "缺少参数targetUsers")
    private List<GroupUserDTO> targetUsers = new ArrayList<>();

    @ApiModelProperty(value = "1是0否")
    @NotNull(message = "缺少参数isAdmin")
    private Integer isAdmin;
}
